const app = getApp();
Page({
    data: {
        mineList: [
            { img: "../../assets/collect.png", text: "我的收藏", rImg: "../../assets/right_arrow_b.png" },
            { img: "../../assets/time.png", text: "观看历史", rImg: "../../assets/right_arrow_b.png" }
        ]
    },
    navigateToPage(evt) {
        if (evt.currentTarget.dataset.index === 0) {
            wx.navigateTo({
                url: '../../pages/collect/collect',
            })
        } else {
            wx.navigateTo({
                url: '../../pages/history/history',
            })
        }
    }

})